﻿<%@ Page Title="VIT :: Trang chủ" Language="C#" MasterPageFile="~/Templates/Home/Home.Master"
    AutoEventWireup="true" CodeBehind="News24H.aspx.cs" Inherits="VIT.Web.News24H" %>

<%@ Register Assembly="VIT.Web.Controls" Namespace="VIT.Web.Controls" TagPrefix="VIT" %>
<asp:Content ID="HeadContent" ContentPlaceHolderID="HeadContent" runat="server">
    <title>Tin tức :: 24G Cưới - Chia sẻ bí quyết - Nhật ký hành trình - Chia sẻ hạnh phúc - <%=URLRoot %></title>
    <meta name="keywords" content="Tin tức, 24G Cưới, Chia sẻ bí quyết, Nhật ký hành trình, Chia sẻ hạnh phúc, Nhà hàng, Tiệc cưới, Quà tặng" />
    <meta name="description" content="Tin tức :: 24G Cưới - Chia sẻ bí quyết - Nhật ký hành trình - Chia sẻ hạnh phúc - <%=URLRoot %>" />
    <meta name="title" content="Tin tức :: 24G Cưới - Chia sẻ bí quyết - Nhật ký hành trình - Chia sẻ hạnh phúc - <%=URLRoot %>" />
    <%--<script type="text/javascript" src="<%=URLRoot %>Includes/SlideshowNumber/jquery.easing.1.3.min.js"></script>--%>
    <%--<script type="text/javascript" src="<%=URLRoot %>Includes/SlideshowNumber/jquery.wt-rotator.min.js"></script>
    <script type="text/javascript" src="<%=URLRoot %>Includes/SlideshowNumber/preview.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../Includes/SlideshowNumber/wt-rotator.css" />--%>
    <link rel="stylesheet" type="text/css" href="<%=URLRoot %>Includes/jshowoff/jshowoff.css" />
    <script type="text/javascript" src="<%=URLRoot %>Includes/jshowoff/jquery.jshowoff.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../Includes/style-slick/style-slick.css" />
    <!-- sagscroller -->
    <link href="../../Includes/sagscroller/sagscroller.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="banner2" style="padding-bottom: 0px; margin-top: -14px;">
        <VIT:Skin runat="server" ID="SkinBannerProduct" SkinName="Empty">
        </VIT:Skin>
        <VIT:Skin ID="SkinLongShadow" runat="server" SkinName="LongShadow">
        </VIT:Skin>
        <%--<VIT:Skin ID="SkinBanner" runat="server" SkinName="SkinSlideShowHome"></VIT:Skin>--%>
        <div class="bner">
            <%--<div id="test">
                <div class="wt-rotator">
                    <div class="screen">
                    </div>
                    <div class="c-panel">
                        <div class="buttons">
                            <div class="prev-btn">
                            </div>
                            <div class="play-btn">
                            </div>
                            <div class="next-btn">
                            </div>
                        </div>
                        <div class="thumbnails">
                            <asp:Repeater ID="rptImg" runat="server">
                                <HeaderTemplate>
                                    <ul>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <%#Eval("Image").ToString().Length>0?"<li><a href='" 
                                + URLRoot + "Uploads/Images/Articles/Details/" + Eval("Image") + "' title='" + Eval("Title") 
                                + "'><img src='" + URLRoot + "Uploads/Images/Articles/Details/" + Eval("Image") + "' alt='" 
                                + Eval("Title") + "' /></a> <a href='#' target='_blank'></a></li>":""%>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </ul>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </div>
            </div>--%>

            <div id="divSlideShow">
                <asp:Repeater ID="rptImg" runat="server">
                    <ItemTemplate>
                        <div>
                        <%# Eval("Image").ToString().Length > 0 ? "<a href='" 
                            + URLRoot + "Uploads/Images/Articles/Details/" + Eval("Image") + "' title='" + Eval("Title") 
                            + "'><img src='" + URLRoot + "Uploads/Images/Articles/Details/" + Eval("Image") + "' alt='" 
                            + Eval("Title") + "' /></a> <a href='#' target='_blank'></a>" : string.Empty %>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <script type="text/javascript" src="<%=URLRoot %>Includes/jshowoff/jquery.jshowoff.min.js"></script>
            <script type="text/javascript">
                (function ($) {
                    $.fn.fixOverflow = function () {
                        if ($.browser.msie) {
                            return this.each(function () {
                                if (this.scrollWidth > this.offsetWidth) {
                                    $(this).css({ 'padding-bottom': '20px', 'overflow-y': 'hidden' });
                                }
                            });
                        } else {
                            return this;
                        }
                    };
                })(jQuery);
                $('pre').fixOverflow();
                $('#divSlideShow').jshowoff();
                $('.jshowoff.jshowoff-1')[0].style.position = 'absolute';
            </script>
        </div>
        <div class="tintuc-hot">
            <asp:Repeater ID="rpt" runat="server">
                <ItemTemplate>
                    <ul>
                        <li>
                            <h2>
                                <a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" title="<%#Eval("Title") %>">
                                    <%#Eval("Title") %></a></h2>
                            <%#Eval("Brief").ToString().Substring(3,Eval("Brief").ToString().Length-7)%>
                            <a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" title="<%#Eval("Title") %>">
                                Xem chi tiết»</a></li></ul>
                </ItemTemplate>
            </asp:Repeater>
            <h4><a href="<%= linkComponent("Article", "List", "") %>">Xem tất cả</a></h4>
        </div>
        <div class="cl">
        </div>
    </div>
    <VIT:Skin ID="SkinCenter" runat="server" SkinName="CenterCTMN">
    </VIT:Skin>
    <VIT:Skin ID="SkinCenterNoFrame" runat="server" SkinName="Center">
    </VIT:Skin>
    <VIT:Skin ID="SkinPrinkBorder" runat="server" SkinName="PrinkBorder">
    </VIT:Skin>
</asp:Content>
